/**
 * 仓库
 *
 * @author sxf
 * @email sxf02615@163.com
 * @date 2025/1/15
 */
package com.sxf.crm.repository;


import com.sxf.crm.entity.VisitCollaborator;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 拜访协同人数据访问接口
 *
 * @author sxf
 * @email sxf02615@163.com
 * @date 2025/6/1
 */
@Repository
public interface VisitCollaboratorRepository extends JpaRepository<VisitCollaborator, Long> {
    List<VisitCollaborator> findByVisitId(Long visitId);
    void deleteByVisitId(Long visitId);
} 